package com.example.otto.DTO;

import com.example.otto.entity.Worker;
import lombok.Data;

@Data
public class WorkerLoginDTO {
    private Worker worker;
    private String token;

    public WorkerLoginDTO(Worker worker, String token) {
        this.worker = worker;
        this.token = token;
    }
}
